# {{ ansible_managed }}

set daemon {{ monit_cycle }}
set logfile {{ monit_log_destination }}
set statefile {{ monit_state_file }}
set idfile {{ monit_id_file }}
{% if monit_eventqueue_dir is defined %}
set eventqueue
  basedir {{ monit_eventqueue_dir | default('/var/lib/monit/events') }}
  slots {{ monit_eventqueue_slots | default(100) }}
{% endif %}
{% if monit_mmonit is defined %}
set mmonit {{ monit_mmonit }}
{% endif %}
include {{ monit_includes }}/*
